<div id="${fp.containerId}" 
	class="filterpane${fp.containerIsDialog} ${fp.containerClass} filter"
	style="${fp.containerVisibleStyle}${fp.containerStyle}">
	
	<g:set var="renderForm" value="${fp.customForm == false}" />
	<g:if test="${renderForm}">
		<form name="${fp.formName}" id="${fp.formName}" method="post" action="${createLink(action:fp.formAction)}">
	</g:if>
	<!-- Do we still need this hidden prop? -->
	<input type="hidden" name="filterProperties" value="${fp.filterProperties}" />
	<div class="pane-left">
		<table cellspacing="0" cellpadding="0" class="filterPaneTable">
		<g:each in="${fp.properties}" var="propMap">
		
			<g:render template="/filterpane/filterpaneProperty" plugin="filterpane" model="${propMap}" />
		
		</g:each>
		</table>
	</div>
	<div class="pane-right">
		<g:if test="${fp.showSortPanel == true}">
			<g:render template="/filterpane/filterpaneSort" plugin="filterpane" model="${fp.sortModel}" />
		</g:if>
		<g:else>
			<input type="hidden" name="sort" value="${params.sort}" />
			<input type="hidden" name="order" value="${params.order}" />
		</g:else>
		<div style="margin:10px;">
			<g:if test="${fp.showButtons == true}">
			<g:render template="/filterpane/filterpaneButtons" plugin="filterpane" model="${fp.buttonModel}" />
		</g:if>
		</div>
		
	</div>
	<div class="clear"></div>
	<g:if test="${renderForm}">
		</form>
	</g:if>
</div>